package com.aracky.assess.model.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Description 接收前端修改时间对象
 * @CreateTime 2022/8/25
 * @Author rookie-cai
 */
@Data
public class HrKpiUserPerformanceHeaderTimeUpdateForm {
    @ApiModelProperty("配置ID")
    private Long id;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("考核类型，M月度考核、S季度考核、Y年度考核")
    private String performanceType;

    @ApiModelProperty("考核周期，xxxx年xx月、xxxx年第x季度，xxxx年")
    private String performancePeriod;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("结束填报时间")
    private LocalDate endWriteDate;

    @ApiModelProperty("结束评分日期")
    private LocalDate endAssessorDate;
}
